#ifndef STRING_H
#define STRING_H
#include "value.h"

typedef struct String
{
    ObjectHeader;
    u_byte *array;
    u_int length;
    u_int hashCode;
} String;

void String_Init(String *self, const u_byte *value);
// void String_Concat(String *self, String *value1, String *value2);

// Object *String_New_Concat(Line *line, String *value1, String *value2);

bool String_Equal(String *value1, String *value2);

void Delete_String(Object *self);

String * String_New(Line *line,const u_byte* str);
#endif